package com.logistics.service.feign;

import com.logistics.compont.ResponseApi;
import com.logistics.service.feign.impl.StoreFeignException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "lg-store",fallback = StoreFeignException.class)
public interface StoreFeign {

    @GetMapping("/store/queryAllStores")
    ResponseApi queryAllStores();


}
